package com.stylefeng.guns.modular.system.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.vpn.entity.VpnOperationLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 业务操作日志 Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2020-04-20
 */
public interface VpnOperationLogMapper extends BaseMapper<VpnOperationLog> {
    List<Map<String,Object>> queryOperationLogs(@Param("start") int start,
                                                @Param("count") int count);
    Long queryLogCount();

    void saveOneOperationLog(@Param("item") VpnOperationLog log);
}
